import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Index from '@/components/Index/Index'
import Ask from '@/components/Index/ask'
import Detail from '@/components/Detail/Detail'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index,
  	},
	{
		path: '/detail',
		name: 'Detail',
		component: Detail,
	},
	{
		path: '/ask',
		name: 'Ask',
		component: Ask,
	}
  ]
})
